#include<iostream>
//-------------system---------------
#include<signal.h>
#include<unistd.h>
using namespace std;
void handler(int signum){
    cout << signum << "custom" << endl;
}
using namespace std;
int main(){
    signal(2,handler);   //Customize the second new account
    while(true){
        cout << "my process my pid:" << getpid() << endl;
        sleep(1);
    }
    return 0;
}